package com.levi.lambda;

/**
 * @author shentong
 * @date 2022/1/10 8:53 PM
 * @description
 */
public class Student {
    private Integer id;
    private String name;
    private String sex;
    private Integer age;
    private Boolean isPass;
    private Integer score;

    public Student(Integer id, String name, String sex) {
        this.id = id;
        this.name = name;
        this.sex = sex;
    }

    public Student(Integer id, String name, String sex, Integer age, Boolean isPass) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.isPass = isPass;
    }

    public Student(Integer id, String name, String sex, Integer age) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.age = age;
    }

    public Student(Integer id, String name, String sex, Integer age, Boolean isPass, Integer score) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.isPass = isPass;
        this.score = score;
    }

    public Student(){
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", isPass=" + isPass +
                ", score=" + score +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Boolean getPass() {
        return isPass;
    }

    public void setPass(Boolean pass) {
        isPass = pass;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }
}
